package com.mobisys.live.dao.model;

import com.mobisys.live.util.UUIDUtil;

import java.util.Date;

public class Live {
    private String id;

    private String userId;

    private String title;

    private String channelid;

    private String groupid;

    private String type;

    private String coverPictureId;

    private String location;

    private int viewCount;

    private int likeCount;

    private Byte forbidStatus;

    private byte liveStatus;

    private Date createTime;

    private Date endTime;

    private String schduled;

    private String template;

    private Byte screen;

    private String tag;

    private String guest;

    private String introduction;


    public Live(){
        this.id= UUIDUtil.getUUID();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getChannelid() {
        return channelid;
    }

    public void setChannelid(String channelid) {
        this.channelid = channelid == null ? null : channelid.trim();
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid == null ? null : groupid.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getCoverPictureId() {
        return coverPictureId;
    }

    public void setCoverPictureId(String coverPictureId) {
        this.coverPictureId = coverPictureId == null ? null : coverPictureId.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Byte getForbidStatus() {
        return forbidStatus;
    }

    public void setForbidStatus(Byte forbidStatus) {
        this.forbidStatus = forbidStatus;
    }

    public byte getLiveStatus() {
        return liveStatus;
    }

    public void setLiveStatus(byte liveStatus) {
        this.liveStatus = liveStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getSchduled() {
        return schduled;
    }

    public void setSchduled(String schduled) {
        this.schduled = schduled == null ? null : schduled.trim();
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template == null ? null : template.trim();
    }

    public Byte getScreen() {
        return screen;
    }

    public void setScreen(Byte screen) {
        this.screen = screen;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    public String getGuest() {
        return guest;
    }

    public void setGuest(String guest) {
        this.guest = guest == null ? null : guest.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setViewCount(int viewCount) {
        this.viewCount = viewCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}